package zy.test;

/**
 * Created by Administrator on 2017/8/4.
 */

public class Result {
    public enum Flag {WECHAT, ALIPAY,MYSHOP,STDSHOP}
    private  Flag flag;
    private  String barCode;

    public Result(Flag flag,String barCode) {
        this.flag=flag;
        this.barCode=barCode;
    }
    public Flag getFlag() {
        return flag;
    }

    public void setFlag(Flag flag) {
        this.flag = flag;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    @Override
    public String toString() {
        return "Result{" +
                    "flag=" + flag +
                    ", barCode='" + barCode + '\'' +
                    '}';
    }
}
